function checkNode(value){
  if(value == "" || value.replace(/(^\s*)|(\s*$)/g, "") == "") return false;
  return true;
}


function selectBox(){
  var checkboxis = document.getElementsByName("id");
  for (var i=0; i<checkboxis.length; i++){
    if(document.all.user.checkid.checked == true){
      checkboxis[i].checked = true;
    }else{
      checkboxis[i].checked = false;
    }     
  }
}


function search(){
    document.all.webpay.action = 'webpay.do?method=initFind';
    document.all.webpay.submit();
}
